﻿$(document).ready(function () {
    $(".hidden").hide();
    $(".hidden_new").hide();
    $(".showInfor").click(function () {
        $("#info_" + $(this).attr("id")).toggle("slow");
    })


    $(".search").live("click", function () {
        var maDay = $("#maDay").val();
        var maTang = $("#maTang").val();
        var dataString = "maTang=" + maTang + "&maDay=" + maDay
        $.ajax({
            type: "GET",
            url: "Search_Room",
            data: dataString,
            dataType: 'html',
            success: function (data) {
                $("#results").html(data).fadeIn();
                $.getScript('/script.js');
            }
        });
    });
    

   

});